
angular.module('myApp', []).
  config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/', {templateUrl: 'invoice_form.html', controller: ListInvCtrl}).
      otherwise({redirectTo: '/'});
}]);


function ListInvCtrl($scope, $http) {
  $http.get('customerdata.php').success(function(data) {
    $scope.customermast = data;
  });
}


